using System;
using System.Collections.Generic;
using System.Text;

namespace Impact.Views
{
    /// <summary>
    /// Standard view definition for an editor type view
    /// </summary>
    /// <typeparam name="ModelType"></typeparam>
    public interface IEditorPageView<ModelType> : IPageView
    {

        /// <summary>
        /// given the profile, populates the form with data from the page
        /// </summary>
        void PopulateForm( ModelType obj );

        /// <summary>
        /// reads data from a from and populates a page object with it
        /// </summary>
        ModelType RetrieveFormData();


    }
}
